#ifndef _INET_H_
#define _INET_H_

#include <net/idns.h>
#include <net/iwebsocket.h>

typedef enum TAG_NET_PROTOCOL
{
	Protocol_base =	0,
	Protocol_dns =	2,
	Protocol_http =	100,
	Protocol_https = 101,
	Protocol_websocket = 150

}Net_Protocol;


interface INet : public IBase
{
	std_method(CreateProtocol)(Net_Protocol netp, IBase** pBase) PURE;
};

// {7EB8185F-0F4E-4420-9991-B70671967377}
_DEFINE_IID(IID_INet,
	0x7eb8185f, 0xf4e, 0x4420, 0x99, 0x91, 0xb7, 0x6, 0x71, 0x96, 0x73, 0x77);

// {C54C9CC0-F448-4A49-A622-0467D02E8EB8}
_DEFINE_GUID(CLSID_INet,
	0xc54c9cc0, 0xf448, 0x4a49, 0xa6, 0x22, 0x4, 0x67, 0xd0, 0x2e, 0x8e, 0xb8);


#endif
